﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Data.SQLite;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsServiceConfig
{
    /// <summary>
    /// Linq to SQLite
    /// </summary>
    public class SQLiteDataContext : DataContext
    {
        public SQLiteDataContext(string connection, MappingSource mappingSource) :
            base(connection, mappingSource)
        {
        }
        public SQLiteDataContext(IDbConnection connection, MappingSource mappingSource) :
            base(connection, mappingSource)
        {
        }
        public SQLiteDataContext(string connectionString) :
            base(new SQLiteConnection(connectionString))
        {
        }
        public SQLiteDataContext(IDbConnection connection) :
            base(connection)
        {
        }
    }
}
